# $Id: PKGBUILD 85698 2013-03-05 09:22:44Z spupykin $
# Maintainer: Sergej Pupykin <pupykin.s+arch@gmail.com>
# This PKGBUILD was autocreated.  See http://xtermin.us/archperl/ for details
# Maintainer: Charles Mauch <cmauch@gmail.com>

pkgname=perl-datetime-event-ical
pkgver=0.11
pkgrel=1
pkgdesc="Perl/CPAN Module DateTime::Event::ICal"
arch=('any')
url="http://search.cpan.org/dist/DateTime-Event-ICal"
license=("GPL" "Artistic")
source=("http://www.cpan.org/authors/id/F/FG/FGLOCK/DateTime-Event-ICal-$pkgver.tar.gz")
md5sums=('aea95965715c4e438fe981a5407e1328')

build() {
  cd $srcdir/DateTime-Event-ICal-$pkgver
  PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor
  make
}

package() {
  cd $srcdir/DateTime-Event-ICal-$pkgver
  make install DESTDIR=$pkgdir
  find $pkgdir -name '.packlist' -delete
  find $pkgdir -name '*.pod' -delete
}
